# Contributor: Adam Thiede <me@adamthiede.com>
# Maintainer: Adam Thiede <me@adamthiede.com>
pkgname=chicago95
pkgver=3.0.1
pkgrel=0
pkgdesc="Windows 95 gtk theme, icons, and fonts"
url="https://github.com/grassmunk/chicago95"
arch="noarch"
license="GPL-3.0-or-later"
depends="$pkgname-icons"
subpackages="$pkgname-icons $pkgname-fonts"
source="$pkgname-$pkgver.tar.gz::https://github.com/grassmunk/Chicago95/archive/refs/tags/v$pkgver.tar.gz"
options="!check" # no tests, just a theme
builddir="$srcdir/Chicago95-$pkgver"

package() {
	mkdir -p "$pkgdir"/usr/share/themes/
	cp -a Theme/Chicago95 "$pkgdir"/usr/share/themes/

	mkdir -p "$pkgdir"/usr/share/icons/
	cp -a Icons/Chicago95 Icons/Chicago95-tux "$pkgdir"/usr/share/icons/

	mkdir -p "$pkgdir"/usr/share/fonts/Chicago95/
	cp -a Fonts/bitmap Fonts/vga_font "$pkgdir"/usr/share/fonts/Chicago95/
}

icons() {
	amove /usr/share/icons/Chicago95
	amove /usr/share/icons/Chicago95-tux
}

fonts() {
	amove /usr/share/fonts/Chicago95
}

sha512sums="
361b871d111f4a7a96680d61c47f1e89a38a26cee3aea1c636b24c4e5a60972b1d79d43200f3f6a2e64f27ff37ca71c781da699cc18461ffdd6f9220741101f9  chicago95-3.0.1.tar.gz
"
